package com.fhs.easycloud.test;

import com.fhs.easycloud.anno.EnableEasyCloud;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.fhs"})
@EnableConfigurationProperties
@EnableEasyCloud(basePackages = "com.fhs")
public class ProducerApplication {
    public static void main(String[] args) {
        SpringApplication.run( ProducerApplication.class, args);
    }
}
